/**
 * 构造模糊查询条件，不区分大小写
 */
export default function like_ignore_case(field_name: string, value: number | string | boolean) {
	const condition = {};
	condition[field_name] = { $regex: '.*' + value + '.*', $options: 'i' };
	return condition;
}
